home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / x86 / include / asm / es7000 / apicdef.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  228 b   |  14 lines

  1. #ifndef __ASM_ES7000_APICDEF_H
  2. #define __ASM_ES7000_APICDEF_H
  3.  
  4. #define        APIC_ID_MASK        (0xFF<<24)
  5.  
  6. static inline unsigned get_apic_id(unsigned long x)
  7. {
  8.     return (((x)>>24)&0xFF);
  9. }
  10.  
  11. #define        GET_APIC_ID(x)    get_apic_id(x)
  12.  
  13. #endif
  14.